//GEN-LINE:initComponents
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
 */
package supermarketgui;

/**
 *
 * @author JK
 */
public class About extends javax.swing.JDialog {

    // Variables declaration - do not modify
    private javax.swing.JLabel applicationTitleLabel;
    private javax.swing.JLabel cityLabel;
    private javax.swing.JLabel eapLabel;
    private javax.swing.JLabel groupLabel;
    private javax.swing.JLabel imageLabel;
    private javax.swing.JLabel member1Label;
    private javax.swing.JLabel member2Label;
    private javax.swing.JLabel member3Label;
    private javax.swing.JLabel member4Label;

    /**
     * Creates new form About
     * @param parent
     * @param modal
     */
    public About(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")

    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
        imageLabel            = new javax.swing.JLabel();
        eapLabel              = new javax.swing.JLabel();
        groupLabel            = new javax.swing.JLabel();
        member1Label          = new javax.swing.JLabel();
        member3Label          = new javax.swing.JLabel();
        member2Label          = new javax.swing.JLabel();
        member4Label          = new javax.swing.JLabel();
        cityLabel             = new javax.swing.JLabel();
        applicationTitleLabel = new javax.swing.JLabel();
        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle(org.openide.util.NbBundle.getMessage(About.class, "About.title"));    // NOI18N
        setModal(true);
        setResizable(false);
        imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/supermarketgui/icons/supermarket_.gif")));    // NOI18N
        imageLabel.setText(org.openide.util.NbBundle.getMessage(About.class, "About.imageLabel.text"));        // NOI18N
        eapLabel.setFont(new java.awt.Font("Tahoma", 1, 18));                                                  // NOI18N
        eapLabel.setText(org.openide.util.NbBundle.getMessage(About.class, "About.eapLabel.text"));            // NOI18N
        groupLabel.setFont(new java.awt.Font("Tahoma", 1, 18));                                                // NOI18N
        groupLabel.setText(org.openide.util.NbBundle.getMessage(About.class, "About.groupLabel.text"));        // NOI18N
        member1Label.setFont(new java.awt.Font("Tahoma", 1, 14));                                              // NOI18N
        member1Label.setText(org.openide.util.NbBundle.getMessage(About.class, "About.member1Label.text"));    // NOI18N
        member3Label.setFont(new java.awt.Font("Tahoma", 1, 14));                                              // NOI18N
        member3Label.setText(org.openide.util.NbBundle.getMessage(About.class, "About.member3Label.text"));    // NOI18N
        member2Label.setFont(new java.awt.Font("Tahoma", 1, 14));                                              // NOI18N
        member2Label.setText(org.openide.util.NbBundle.getMessage(About.class, "About.member2Label.text"));    // NOI18N
        member4Label.setFont(new java.awt.Font("Tahoma", 1, 14));                                              // NOI18N
        member4Label.setText(org.openide.util.NbBundle.getMessage(About.class, "About.member4Label.text"));    // NOI18N
        cityLabel.setFont(new java.awt.Font("Tahoma", 1, 13));                                                 // NOI18N
        cityLabel.setText(org.openide.util.NbBundle.getMessage(About.class, "About.cityLabel.text"));          // NOI18N
        applicationTitleLabel.setFont(new java.awt.Font("Tahoma", 1, 20));                                     // NOI18N
        applicationTitleLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        applicationTitleLabel.setText(org.openide.util.NbBundle.getMessage(About.class,
                "About.applicationTitleLabel.text"));                                                          // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());

        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
                layout.createSequentialGroup().addContainerGap().addGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
                        layout.createSequentialGroup().addComponent(
                            imageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 290,
                            javax.swing.GroupLayout.PREFERRED_SIZE).addPreferredGap(
                                javax.swing.LayoutStyle.ComponentPlacement.RELATED).addGroup(
                                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(
                                    eapLabel).addComponent(member3Label).addComponent(groupLabel).addComponent(
                                    member1Label).addComponent(member2Label).addComponent(member4Label).addComponent(
                                    cityLabel)).addGap(0, 14, Short.MAX_VALUE)).addComponent(
                                        applicationTitleLabel, javax.swing.GroupLayout.Alignment.TRAILING,
                                        javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                        Short.MAX_VALUE)).addContainerGap()));
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
                layout.createSequentialGroup().addContainerGap().addComponent(applicationTitleLabel).addGap(
                    18, 18, 18).addGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
                        layout.createSequentialGroup().addComponent(eapLabel).addGap(18, 18, 18).addComponent(
                            groupLabel).addGap(32, 32, 32).addComponent(member1Label).addPreferredGap(
                            javax.swing.LayoutStyle.ComponentPlacement.UNRELATED).addComponent(member2Label).addGap(
                            12, 12, 12).addComponent(member3Label).addPreferredGap(
                            javax.swing.LayoutStyle.ComponentPlacement.UNRELATED).addComponent(
                            member4Label)).addComponent(imageLabel)).addGap(11, 11, 11).addComponent(
                                cityLabel).addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
        pack();
    }    // </editor-fold>

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {

        /* Set the Nimbus look and feel */

        // <editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">

        /*
         *  If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());

                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(About.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }

        // </editor-fold>

        /* Create and display the dialog */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                About dialog = new About(new javax.swing.JFrame(), true);

                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    @Override
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }

    // End of variables declaration
}


//~ Formatted by Jindent --- http://www.jindent.com
